package com.hdd.art.biz.painting.service;

import com.hdd.art.biz.painting.dto.PaintingWorksInfoVo;
import com.hdd.art.biz.painting.entity.PaintingWorks;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 作品表 服务类
 * </p>
 *
 * @author fang
 * @since 2021-06-27
 */
public interface PaintingWorksService extends IService<PaintingWorks> {

    PaintingWorks findPaintingWorks(String workId);

    List<PaintingWorks> getList(String artId,String roomId,Integer status,String isAdmin,Integer pageNo,Integer pageSize);

    Long getListTotals(String artId,String roomId,Integer status);

    void delete(String artId,String workId);

////    List<PaintingWorks> getMyList(Integer artId,String roomId,Integer pageNo,Integer pageSize);
//
//    void join(String workId,Integer artId);
//
//    void publish(PaintingWorks paintingWorks);

    List<PaintingWorks> getMyWorkList(String userId, Integer pageNo, Integer pageSize);

    List<PaintingWorksInfoVo> getMyVerifyList(String userId, Integer pageNo, Integer pageSize);

    List<PaintingWorksInfoVo> myWorksDetails(String workId,String userId, Integer pageNo, Integer pageSize);

    PaintingWorks workInfo(String workId);

    List<PaintingWorksInfoVo> artWorksDetails(String artId, String roomId,String userId,Integer status, Integer pageNo, Integer pageSize);

    void publish(PaintingWorks works);

    void batchDelete(String artId,String ids);

    void addShows(String workId);

    void updateRoom(String workId,Integer roomId);
}
